package Email.auto.checker;

public class ConstComunication {
	
	public static final int COMUNICATION_ERROR = -1;
	public static final int COMUNICATION_OK = 1;
	
	public static final String HOTMAIL_SERVER = "pop3.live.com";
	public static final String GMAIL_SERVER = "imap.gmail.com";
	public static final String ISEC_SERVER = "imap.isec.pt";
	
	public static final int GMAIL_PORT = 993;
	public static final int HOTMAIL_PORT = 995;
	public static final int ISEC_PORT = 993;
	
	public static final String IMAP_SERVER_ANSWER_OK = "* OK";
	public static final String POP_SERVER_ANSWER_OK = "+OK";
	
	public static final String IMAP_SERVER_ANSWER_ERROR = "NO";
	public static final String POP_SERVER_ANSWER_ERROR = "-OK";

	public static final String LOGIN_IMAP = "a001 LOGIN";
	public static final String UNSEEN_MESSAGES_IMAP = "$ STATUS INBOX (unseen)";
	public static final String LOGOUT_IMAP = "a001 LOGOUT";

	public static final String LOGIN_HOTMAIL = "USER";
	public static final String PASS_HOTMAIL = "PASS";
	public static final String UNSEEN_MESSAGES_POP = "LIST";
	public static final String QUIT_HOTMAIL = "QUIT";
	
	public static final int FIVE_MINUTES = 5 * (1000 * (60));
	public static final int TEN_MINUTES = 10 * (1000 * (60));
	public static final int FIFTEEN_MINUTES = 15 * (1000 * (60));
	public static final int THIRTY_MINUTES = 30 * (1000 * (60));
	public static final int FORTY_FIVE_MINUTES = 45 * (1000 * (60));
	public static final int SIXTY_MINUTES = 60 * (1000 * (60));
	
}
